﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Header2.ascx.cs" Inherits="GUI.Controls.Shared.Header2" %>
<%@ Register TagPrefix="uc" TagName="MenuTop" Src="~/Controls/Shared/MenuTop.ascx" %>
<%@ Register TagPrefix="uc" TagName="BoxChungKhoan" Src="BoxChungKhoan.ascx" %>
<%@ Register TagPrefix="uc" TagName="Top" Src="~/Controls/Shared/Top.ascx" %>
<%--<%@ Register TagPrefix="uc" TagName="FocusNewsAtTopOfHomePage" Src="~/Controls/News/FocusNewsAtTopOfHomePage.ascx" %>--%>
<%@ Register TagPrefix="uc" TagName="BoxWeather" Src="~/Controls/Shared/BoxWeather.ascx" %>
<div class="header1-new pdb10 clearfix">
    <uc:Top runat="server" />
    <div class="w980 wp clearfix col-wrapper">
        <div class="col-wrapper-content">
            <div class="col1">
                <a href="/" class="logo-new sprite"></a><span class="sub-site">www.soha.vn</span>
            </div>
            <div class="fl">
                <%--<div class="col2">
                    <uc:FocusNewsAtTopOfHomePage ID="FocusNewsAtTopOfHomePage1" runat="server" />
                </div>--%>
                <div class="col3">
                    <uc:BoxWeather ID="BoxWeather1" runat="server" />
                </div>
                
                <%--<img style="padding-right: 12px" src="/Images/giavang.png" />--%>
            </div>
            <div class="fl">
                <uc:BoxChungKhoan ID="BoxChungKhoan1" runat="server"/>
                </div>
        </div>
    </div>
</div>

<uc:MenuTop ID="MenuTop1" runat="server" />
<script type="text/javascript">
    $(window).scroll(function () {
        var top = $(".header1-new").height() + 10;
        var y = $(this).scrollTop();
        if (y > top) {
            $('#divTopMenu').addClass('fixed');
            $('body').addClass('pdt50');

        }
        else {
            $('#divTopMenu').removeClass('fixed');
            $('body').removeClass('pdt50');
        }
    });
</script>

